/**
 * Marlin 3D Printer Firmware
 * Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
 *
 * Based on Sprinter and grbl.
 * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 *
 */

#include "../../fontdata.h"

#if HAS_GRAPHICAL_TFT && TFT_FONT == UNIFONT

// Unifont Cyrillic 16pt, capital 'A' height: 10px, width: 100%, range: 0x0401-0x0491, glyphs: 74
extern const uint8_t Unifont_Cyrillic_10[1243] = {
  129,10,1,4,145,4,14,254, // unifont_t
  // 0x0401  Ё
  6,14,14,8,1,0,72,72,0,0,252,128,128,128,248,128,128,128,128,252,
  // 0x0402  Ђ
  255,
  // 0x0403  Ѓ
  255,
  // 0x0404  Є
  6,10,10,8,1,0,56,68,128,128,248,128,128,128,68,56,
  // 0x0405  Ѕ
  255,
  // 0x0406  І
  5,10,10,8,2,0,248,32,32,32,32,32,32,32,32,248,
  // 0x0407  Ї
  5,14,14,8,2,0,144,144,0,0,248,32,32,32,32,32,32,32,32,248,
  // 0x0408  Ј
  255,
  // 0x0409  Љ
  255,
  // 0x040a  Њ
  255,
  // 0x040b  Ћ
  255,
  // 0x040c  Ќ
  255,
  // 0x040d  Ѝ
  255,
  // 0x040e  Ў
  255,
  // 0x040f  Џ
  255,
  // 0x0410  А
  6,10,10,8,1,0,48,72,72,132,132,252,132,132,132,132,
  // 0x0411  Б
  6,10,10,8,1,0,248,128,128,128,248,132,132,132,132,248,
  // 0x0412  В
  6,10,10,8,1,0,248,132,132,132,248,132,132,132,132,248,
  // 0x0413  Г
  6,10,10,8,1,0,252,128,128,128,128,128,128,128,128,128,
  // 0x0414  Д
  8,12,12,8,0,254,14,18,18,18,34,34,34,66,66,255,129,129,
  // 0x0415  Е
  6,10,10,8,1,0,252,128,128,128,248,128,128,128,128,252,
  // 0x0416  Ж
  7,10,10,8,1,0,146,146,84,84,56,56,84,84,146,146,
  // 0x0417  З
  6,10,10,8,1,0,120,132,4,4,120,8,4,4,132,120,
  // 0x0418  И
  6,10,10,8,1,0,132,140,140,148,148,164,164,196,196,132,
  // 0x0419  Й
  6,13,13,8,1,0,72,48,0,132,140,140,148,148,164,164,196,196,132,
  // 0x041a  К
  6,10,10,8,1,0,140,144,144,160,160,192,160,144,136,132,
  // 0x041b  Л
  6,10,10,8,1,0,60,36,36,36,36,36,36,68,68,132,
  // 0x041c  М
  6,10,10,8,1,0,132,132,204,204,180,180,132,132,132,132,
  // 0x041d  Н
  6,10,10,8,1,0,132,132,132,132,252,132,132,132,132,132,
  // 0x041e  О
  6,10,10,8,1,0,120,132,132,132,132,132,132,132,132,120,
  // 0x041f  П
  6,10,10,8,1,0,252,132,132,132,132,132,132,132,132,132,
  // 0x0420  Р
  6,10,10,8,1,0,248,132,132,132,248,128,128,128,128,128,
  // 0x0421  С
  6,10,10,8,1,0,120,132,132,128,128,128,128,132,132,120,
  // 0x0422  Т
  7,10,10,8,1,0,254,16,16,16,16,16,16,16,16,16,
  // 0x0423  У
  7,10,10,8,1,0,130,130,68,68,40,40,16,16,32,96,
  // 0x0424  Ф
  7,11,11,8,1,0,16,124,146,146,146,146,146,124,16,16,16,
  // 0x0425  Х
  6,10,10,8,1,0,132,132,72,72,48,48,72,72,132,132,
  // 0x0426  Ц
  7,12,12,8,1,254,132,132,132,132,132,132,132,132,132,254,2,2,
  // 0x0427  Ч
  6,10,10,8,1,0,132,132,132,132,132,140,116,4,4,4,
  // 0x0428  Ш
  7,10,10,8,1,0,146,146,146,146,146,146,146,146,146,254,
  // 0x0429  Щ
  8,12,12,8,0,254,146,146,146,146,146,146,146,146,146,255,1,1,
  // 0x042a  Ъ
  7,10,10,8,1,0,224,32,32,32,60,34,34,34,34,60,
  // 0x042b  Ы
  6,10,10,8,1,0,132,132,132,132,228,148,148,148,148,228,
  // 0x042c  Ь
  6,10,10,8,1,0,128,128,128,128,248,132,132,132,132,248,
  // 0x042d  Э
  6,10,10,8,1,0,112,136,4,4,124,4,4,4,136,112,
  // 0x042e  Ю
  6,10,10,8,1,0,152,164,164,164,228,164,164,164,164,152,
  // 0x042f  Я
  6,10,10,8,1,0,124,132,132,132,124,36,68,68,132,132,
  // 0x0430  а
  6,8,8,8,1,0,120,132,4,124,132,132,140,116,
  // 0x0431  б
  6,12,12,8,1,0,4,56,64,128,248,132,132,132,132,132,132,120,
  // 0x0432  в
  6,8,8,8,1,0,248,132,132,248,132,132,132,248,
  // 0x0433  г
  6,8,8,8,1,0,252,128,128,128,128,128,128,128,
  // 0x0434  д
  7,9,9,8,1,255,60,36,68,68,132,132,132,254,130,
  // 0x0435  е
  6,8,8,8,1,0,120,132,132,252,128,128,132,120,
  // 0x0436  ж
  7,8,8,8,1,0,146,146,84,56,56,84,146,146,
  // 0x0437  з
  6,8,8,8,1,0,120,132,4,120,8,4,132,120,
  // 0x0438  и
  6,8,8,8,1,0,140,140,148,148,164,164,196,196,
  // 0x0439  й
  6,12,12,8,1,0,72,48,0,0,140,140,148,148,164,164,196,196,
  // 0x043a  к
  6,8,8,8,1,0,140,144,160,192,160,144,136,132,
  // 0x043b  л
  6,8,8,8,1,0,60,36,36,36,36,68,68,132,
  // 0x043c  м
  6,8,8,8,1,0,132,204,204,180,180,132,132,132,
  // 0x043d  н
  6,8,8,8,1,0,132,132,132,252,132,132,132,132,
  // 0x043e  о
  6,8,8,8,1,0,120,132,132,132,132,132,132,120,
  // 0x043f  п
  6,8,8,8,1,0,252,132,132,132,132,132,132,132,
  // 0x0440  р
  6,10,10,8,1,254,184,196,132,132,132,132,196,184,128,128,
  // 0x0441  с
  6,8,8,8,1,0,120,132,128,128,128,128,132,120,
  // 0x0442  т
  7,8,8,8,1,0,254,16,16,16,16,16,16,16,
  // 0x0443  у
  6,10,10,8,1,254,132,132,72,72,48,48,32,32,64,192,
  // 0x0444  ф
  7,13,13,8,1,254,16,16,16,124,146,146,146,146,146,146,124,16,16,
  // 0x0445  х
  6,8,8,8,1,0,132,132,72,48,48,72,132,132,
  // 0x0446  ц
  7,10,10,8,1,254,132,132,132,132,132,132,132,254,2,2,
  // 0x0447  ч
  6,8,8,8,1,0,132,132,132,132,140,116,4,4,
  // 0x0448  ш
  7,8,8,8,1,0,146,146,146,146,146,146,146,254,
  // 0x0449  щ
  8,10,10,8,0,254,146,146,146,146,146,146,146,255,1,1,
  // 0x044a  ъ
  7,8,8,8,1,0,224,32,32,60,34,34,34,60,
  // 0x044b  ы
  6,8,8,8,1,0,132,132,132,228,148,148,148,228,
  // 0x044c  ь
  6,8,8,8,1,0,128,128,128,248,132,132,132,248,
  // 0x044d  э
  6,8,8,8,1,0,112,136,4,124,4,4,136,112,
  // 0x044e  ю
  6,8,8,8,1,0,152,164,164,228,164,164,164,152,
  // 0x044f  я
  6,8,8,8,1,0,124,132,132,132,124,36,68,132,
  // 0x0450  ѐ
  255,
  // 0x0451  ё
  6,12,12,8,1,0,72,72,0,0,120,132,132,252,128,128,132,120,
  // 0x0452  ђ
  255,
  // 0x0453  ѓ
  255,
  // 0x0454  є
  6,8,8,8,1,0,56,68,128,248,128,128,68,56,
  // 0x0455  ѕ
  255,
  // 0x0456  і
  5,11,11,8,2,0,32,32,0,96,32,32,32,32,32,32,248,
  // 0x0457  ї
  5,11,11,8,2,0,144,144,0,96,32,32,32,32,32,32,248,
  // 0x0458  ј
  255,
  // 0x0459  љ
  255,
  // 0x045a  њ
  255,
  // 0x045b  ћ
  255,
  // 0x045c  ќ
  255,
  // 0x045d  ѝ
  255,
  // 0x045e  ў
  255,
  // 0x045f  џ
  255,
  // 0x0460  Ѡ
  255,
  // 0x0461  ѡ
  255,
  // 0x0462  Ѣ
  255,
  // 0x0463  ѣ
  255,
  // 0x0464  Ѥ
  255,
  // 0x0465  ѥ
  255,
  // 0x0466  Ѧ
  255,
  // 0x0467  ѧ
  255,
  // 0x0468  Ѩ
  255,
  // 0x0469  ѩ
  255,
  // 0x046a  Ѫ
  255,
  // 0x046b  ѫ
  255,
  // 0x046c  Ѭ
  255,
  // 0x046d  ѭ
  255,
  // 0x046e  Ѯ
  255,
  // 0x046f  ѯ
  255,
  // 0x0470  Ѱ
  255,
  // 0x0471  ѱ
  255,
  // 0x0472  Ѳ
  255,
  // 0x0473  ѳ
  255,
  // 0x0474  Ѵ
  255,
  // 0x0475  ѵ
  255,
  // 0x0476  Ѷ
  255,
  // 0x0477  ѷ
  255,
  // 0x0478  Ѹ
  255,
  // 0x0479  ѹ
  255,
  // 0x047a  Ѻ
  255,
  // 0x047b  ѻ
  255,
  // 0x047c  Ѽ
  255,
  // 0x047d  ѽ
  255,
  // 0x047e  Ѿ
  255,
  // 0x047f  ѿ
  255,
  // 0x0480  Ҁ
  255,
  // 0x0481  ҁ
  255,
  // 0x0482  ҂
  255,
  // 0x0483  ҃
  255,
  // 0x0484  ҄
  255,
  // 0x0485  ҅
  255,
  // 0x0486  ҆
  255,
  // 0x0487  ҇
  255,
  // 0x0488  ҈
  255,
  // 0x0489  ҉
  255,
  // 0x048a  Ҋ
  255,
  // 0x048b  ҋ
  255,
  // 0x048c  Ҍ
  255,
  // 0x048d  ҍ
  255,
  // 0x048e  Ҏ
  255,
  // 0x048f  ҏ
  255,
  // 0x0490  Ґ
  6,12,12,8,1,0,4,4,252,128,128,128,128,128,128,128,128,128,
  // 0x0491  ґ
  6,10,10,8,1,0,4,4,252,128,128,128,128,128,128,128,
};

#endif // HAS_GRAPHICAL_TFT
